package com.designpattern.createpattern.demo07.builder.builder.impl;

import com.designpattern.createpattern.demo07.builder.builder.Builder;
import com.designpattern.createpattern.demo07.builder.product.Bike;

public class OfoBike extends Builder {
    @Override
    public void buildFrame() {
        bike.setFrame("铝合金车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("橡胶车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
